<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<html>
<body>
<jsp:include page="_headCharge.jsp"></jsp:include>
<form class="form-inline" action="" method="post">
从<div class="datepicker input-append">
    <input data-format="yyyy-MM-dd" type="text" value="${beginDate}" name="beginDate"></input>
    <span class="add-on">
      <i data-time-icon="icon-time" data-date-icon="icon-calendar">
      </i>
    </span>
  </div>
到
  <div class="datepicker input-append">
    <input data-format="yyyy-MM-dd" type="text" value="${endDate}" name="endDate"></input>
    <span class="add-on">
      <i data-time-icon="icon-time" data-date-icon="icon-calendar">
      </i>
    </span>
  </div>
  <button type="submit" class="btn">查询</button>
</form>
<table class="table table-bordered">
  <thead>
    <tr> 	 	 			 	
      <th>充值渠道</th>
      <th>充值人数</th>
      <th>赠送金额(￥)</th>
    </tr>
  </thead>
  <span>时间段的充值赠送金额合计(￥)：${detail.total/100}</span><br/>
  <tbody>
  <c:forEach var="m" items="${detail.list}">
    <tr>
    <td>${m.chargeType == 3 ? '支付宝' : m.chargeType == 24 ? '网银' : m.chargeType == 25 ? '手机充值' : m.chargeType == 27 ? '手机短信' : m.chargeType == 29 ? '财付通' : m.chargeType == 100 ? '游戏卡' : m.chargeType}</td>
      <td>${m.times}</td>
      <td>${m.golds/100}</td><!-- K币/100 = RMB -->
    </tr>
  </c:forEach>
  </tbody>
</table>
</body>
</html>